package com.bfsd.tieba.agent.tieba_agent.enums;

import java.text.SimpleDateFormat;

public interface Consts {

    //文本类型，这个模型理解不来图片，所以我只过滤文本类型帖子内容
    String TEXT = "0";
    //是否带楼中楼 请求参数
    String WITH_FLOOR_KEY = "with_floor";
    //带楼中楼回复的数量 请求参数
    String FLOOR_RN_KEY = "floor_rn";
    //只看楼主
    String ONLY_LZ_KEY = "lz";
    //只看楼主
    String ONLY_LZ = "1";
    //默认回复
    String NOT_ONLY_LZ = "0";
    //排序类型
    String SORT_TYPE_KEY = "tab_type";
    //吧名
    String BAR_NAME_KEY = "kw";
    //页码
    String PAGE_NUMBER_KEY = "pn";
    //帖子id 请求参数key
    String POST_ID_KEY = "kz";

    //评论内存 请求参数
    String CONTENT_KEY = "content";
    //bduss,登录态
    String BDUSS_KEY = "BDUSS";
    //百度idkey
    String BAIDU_ID_KEY = "baiduid";
    //STOKEN key
    String S_TOKEN_KEY = "stoken";
    //STOKEN key
    String S_TOKEN_UPPER_CASE_KEY = "STOKEN";
    //吧id key
    String BAR_ID_KEY = "fid";
    //回帖传的帖子id key
    String POST_REPLY_ID_KEY = "tid";
    //判断是否登录的tbs key
    String TBS_KEY = "tbs";
    String ERROR_MSG_KEY = "error_msg";
    String MSG_KEY = "msg";
    /**
     * 请求头
     */
    String USER_AGENT = "User-Agent";
    String USER_AGENT_VALUE = "bdtb for Android";
    String USER_AGENT_CHROME = "ChromeUA";
    String COOKIE = "Cookie";
    String POST_ID = "tid";
    /**
     * 基本参数 很多不知道具体枚举值，传就是了
     */
    String CLIENT_TYPE = "_client_type";
    String CONTENT_TYPE = "Content-Type";
    String SIGN = "sign";
    String TIMESTAMP = "_t";
    String FRS_TYPE = "frs_type";
    String SORT_TYPE = "sort_type";
    String WITH_GROUP = "with_group";
    String CLIENT_VERSION = "_client_version";
    String CLIENT_VERSION_VALUE = "12.35.2.0";
    String PHONE_IMEI = "_phone_imei";
    String TITLE_KEY = "title";
    String FROM = "from";
    String FROM_VALUE = "tiebawap";
    String RN = "rn";
    String NET_TYPE = "net_type";
    //是
    String YES = "1";

    String ANSI_CLEAR  = "\033[H\033[2J";
    String ANSI_TOP_LEFT  = "\033[1;1H";
    SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
}
